/*
 *  boostasio_scrap.cpp
 *  
 *
 *  Created by Rasmus Kyng on 18/02/2011.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */


#include <boost/lambda/lambda.hpp>
#include <iostream>
#include <iterator>
#include <algorithm>

int main()
{
    using namespace boost::lambda;
    typedef std::istream_iterator<int> in;
	
    std::for_each(
				  in(std::cin), in(), std::cout << (_1 * 3) << " " );
}